package com.eleven.trades.vo;

/**
 * 传入账户属性值
 */
public class UserVo {

    private Integer userId;
//    @NotBlank(message = "用户名不能为空")
    private String userName;
//    @NotBlank(message = "用户性别不能为空")
    private String userGender;

//    @Min(value=0,message = "用户年龄必须大于0")
//    @Max(value=150,message="用户年龄必须小于150")
    private Integer userAge;

//    @NotBlank(message = "用户身份证不能为空")
    private String userCard;
//    @NotBlank(message = "用户手机号不能为空")
    private String userPhone;
//    @NotBlank(message = "用户密码不能为空")
    private String userPassword;
//    @NotBlank(message = "用户地址不能为空")
    private String userAddress;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserGender() {
        return userGender;
    }

    public void setUserGender(String userGender) {
        this.userGender = userGender;
    }

    public Integer getUserAge() {
        return userAge;
    }

    public void setUserAge(Integer userAge) {
        this.userAge = userAge;
    }

    public String getUserCard() {
        return userCard;
    }

    public void setUserCard(String userCard) {
        this.userCard = userCard;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress;
    }

    @Override
    public String toString() {
        return "UserVo{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userGender='" + userGender + '\'' +
                ", userAge=" + userAge +
                ", userCard='" + userCard + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", userAddress='" + userAddress + '\'' +
                '}';
    }
}
